<div class="editcate_top">
    <h2>Thêm mới hãng sản xuất</h2>
    <a href="javascript:void(0)" onclick ="$('#light_adct').hide();$('#fade_adct').hide()"><img src="<?php echo img_link('close.png', 'admin'); ?>" class="png" /></a>
</div>

<div id="div_message"></div>

<form enctype="multipart/form-data" method="post" action="<?php echo action_link('add'); ?>" id="company_form">
<div class="editcate_ct">
	<div class="btarticle">
    	<input type="button" value="Cancel" class="btn" onclick="$('#light_adct').hide();$('#fade_adct').hide();" />
        <input type="submit" value="Save & Continute" class="btn" />
    </div>
	<div class="boxadd">
    	<ul class="linect">     	   	
            <li>
                <span class="left"><b>Tên hãng sản xuất<font color="red">(*)</font> :</b></span>
                <span class="right"><input type="text" name="name" value="" style="width:100%; margin:0;" /></span>
            </li>            
       		<li>
       			<span class="left"><b>Trạng thái:</b></span>
       			 <span class="right">
                    <select style="width:130px;" name="status" id="status">
                      <option value="yes">Kích hoạt</option>
                      <option value="no">Chưa kích hoạt</option>
                    </select>
                </span>
       		</li>
        </ul>
    </div>
    <div class="btarticle">
    	<input type="button" value="Cancel" class="btn" onclick="$('#light_adct').hide();$('#fade_adct').hide();" />
        <input type="submit" value="Save & Continute" class="btn" />

    </div>
</div>
</form>
<script>
$('#company_form').iframer({
    onComplete: function(msg){
    	if(msg == 'yes') {
    		$('#light_adct').hide();$('#fade_adct').hide();
            load_content('company_list', window.location.href, true);
    	}
    	else show_error('div_message', msg)
    }
});
</script>